package cn.dhnep.demo.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author dhn
 * @since 2021-09-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_merchant")
@ApiModel(value="Merchant对象", description="")
public class Merchant implements Serializable {

    private static final long serialVersionUID = 1L;

    private String openId;

    private String skey;

    private Date createTime;

    private Date lastVisitTime;

    private String sessionKey;

    private String city;

    private String province;

    private String country;

    private String avatarUrl;

    private Integer gender;

    private String nickName;

    @TableId(value = "merchant_id", type = IdType.AUTO)
    private Integer merchantId;

    private Integer merchantFid;

    private String merchantPhone;

    private String merchantPassword;

    private String merchantCheckname;

    private String merchantNumber;

    private String merchantName;

    private String merchantReferrer;

    private String merchantWxid;

    private String merchantArea;

    private String merchantOpenbank;

    private String merchantCreditCardNumbers;

    private String merchantIdNumber;

    private String merchantIdNumberPhoto;

    private String merchantStarLevel;

    private String merchantLat;

    private String merchantLon;

    private String merchantIsopen;


}
